﻿using System;
using System.Reflection;

namespace SimpleServiceBus.Bus.MessageManagement
{
    public interface IMessageTypeContainer
    {
        void RegisterMessageType(Type messageType);
        void RegisterMessageType(Type messageType, string destinationAddress);

        void RegisterMessageAssembly(Assembly asm);
        void RegisterMessageAssembly(Assembly asm, string destinationAddress);

        Type[] GetRegisteredMessageTypes();

    }
}